<?php
class FlickrController extends Zend_Controller_Action 
{
    public function indexAction()
    {
        $flickr = new Zend_Service_Flickr( Zend_Registry::get('config')->flickr->apikey );

        $results = $flickr->tagSearch('php', array('per_page' => 10, 'page' => 10, 'sort' => 'interestingness-desc'));
        if ($results->valid()) {
            foreach ($results as $result) {
                var_dump($result->title) . '<br />';
            }
        }
        exit();
    }

}